package cn.terenas.tool.excel.util;

import cn.terenas.tool.excel.common.exception.ExcelException;
import lombok.NoArgsConstructor;

@NoArgsConstructor
public class AssertUtil {

    public static void isTrue(boolean statement, String message) {
        if (!statement) {
            throw new ExcelException(message);
        }
    }

}
